//
//  KKNavController.m
//  DoMi
//
//  Created by 康凯 on 16/10/27.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKNavController.h"

@implementation KKNavController

-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if(self.childViewControllers.count){
        viewController.hidesBottomBarWhenPushed = YES;
        
    }
    
    [super pushViewController:viewController animated:animated];
    
}

@end
